#include"SeqList.h"

void test()
{
    SeqList SL;
   SeqListInit(&SL);
   SeqListPushBack(&SL, 10086);
   SeqListPrint(&SL);
   SeqListPushBack(&SL, 10086);
   SeqListPopBack(&SL);
   SeqListPushFront(&SL, 100);
   SeqListPrint(&SL);
   SeqListPopFront(&SL);
   SeqListPrint(&SL);
   SeqListPushBack(&SL, 100);
   SeqListPushBack(&SL, 10086);
   SeqListPushBack(&SL, 1086);
   SeqListPushBack(&SL, 90086);
   SeqListPushBack(&SL, 1086);
   SeqListPushBack(&SL, 1086);
	int ret = SeqListFind(&SL, 10086);
	printf("%d\n", ret);
	SeqListInsert(&SL, 3,4);
	SeqListErase(&SL, 4);
   SeqListDestroy(&SL);
}
int main()
{
	test();
	return 0;
}
